<template>
    <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
  <van-swipe-item><a href=""><img src="../assets/a2.png" alt=""></a></van-swipe-item>
  <van-swipe-item><a href=""><img src="../assets/a3.png" alt=""></a></van-swipe-item>
  <van-swipe-item><a href=""><img src="../assets/a4.png" alt=""></a></van-swipe-item>
</van-swipe>
</template>

<style lang="scss" scoped>

.my-swipe .van-swipe-item {
  width: 100%;
  height: 100px;
    color: #fff;
    font-size: 20px;
    line-height: 150px;
    text-align: center;
    a {
      display: block;
      img {
        display: block;
        width: 100%;
        height: 100%;
        background-size: cover;
      }
    }
  }
</style>